package com.xyazm.order.domain.param;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 *  生成订单号
 */
@Data
public class GenOrderIdParam implements Serializable {

    private static final long serialVersionUID = -3918194989507931383L;

    /**
     * 用户ID
     */
    @NotEmpty(message = "用户ID不能为空")
    private String userId;

}
